package com.scpii.api.persistence.common;

import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

import com.scpii.api.domain.common.FieldValues;

public interface FieldValuesMapper {
	int deleteByPrimaryKey(Long id);

	int insert(FieldValues record);

	FieldValues selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(FieldValues record);

	int updateByPrimaryKeyWithBLOBs(FieldValues record);

	int updateByPrimaryKey(FieldValues record);

	void insertSelective(FieldValues recordFieldValues);

	FieldValues selectBySelective(FieldValues param);

	/**
	 * @param targetId
	 * @return
	 */
	List<FieldValues> getFieldValuesByTargetId(Long targetId);

	void deleteByIds(@Param("ids") Set<Long> ids,
			@Param("targetId") Long targetId);

}